#include<iostream>

#include <SimulatorBase.h>
#include <SawmillBasic.h>
#include <PowerStationBasic.h>

using namespace std;
//struct Hello
//{
//  void operator()() const
//  {
//    std::cout << "Hello";
//  }
//};
////]
//
////[ world_def_code_snippet
//struct World
//{
//  void operator()() const
//  {
//    std::cout << ", World!" << std::endl;
//  }
//};
////]
int main(){

	SimulatorBase sim(10,0.1);
	SawmillBasic* sawmill1 = new SawmillBasic("Sawmill_1_in_BC");
	PowerStationBasic* powerstation1 = new PowerStationBasic("PoweStation_1_in_BC");
	sim.RegisterEntity(powerstation1);
	sim.RegisterEntity(sawmill1);
	
	sim.Run();


	
	
	
	
	//sig(4);
	
	return 0;
}  